projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b77fd
)
Drop code parsing deprecated forms of url
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 17 Sep 2017 21:01:29 +0000
(17:01 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 17 Sep 2017 21:01:29 +0000
(17:01 -0400)
We no longer allow whitespace between url and (.
gtk/gtkcssparser.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssparser.c
b/gtk/gtkcssparser.c
index 960445ffb868546aecc3bb8a3e190e01c138dd2c..852f9ef0912d24680f05619e408f522587f82ffe 100644
(file)
--- a/
gtk/gtkcssparser.c
+++ b/
gtk/gtkcssparser.c
@@
-835,18
+835,8
@@
_gtk_css_parser_read_url (GtkCssParser *parser)
{
if (!_gtk_css_parser_try (parser, "(", TRUE))
{
- _gtk_css_parser_skip_whitespace (parser);
- if (_gtk_css_parser_try (parser, "(", TRUE))
- {
- _gtk_css_parser_error_full (parser,
- GTK_CSS_PROVIDER_ERROR_DEPRECATED,
- "Whitespace between 'url' and '(' is deprecated");
- }
- else
- {
- _gtk_css_parser_error (parser, "Expected '(' after 'url'");
- return NULL;
- }
+ _gtk_css_parser_error (parser, "Expected '(' after 'url'");
+ return NULL;
}
path = _gtk_css_parser_read_string (parser);